package com.example.captcha.facaed;

public class LightFacaed {
    void lightOn(){
        HallLight hallLight = new HallLight();
        LivingRoomLight livingRoomLight =  new LivingRoomLight();
        BedRoomLight bedRoomLight = new BedRoomLight();
        hallLight.on();
        livingRoomLight.on();
        bedRoomLight.on();
    }

    void lightOff(){
        HallLight hallLight = new HallLight();
        LivingRoomLight livingRoomLight =  new LivingRoomLight();
        BedRoomLight bedRoomLight = new BedRoomLight();
        hallLight.off();
        livingRoomLight.off();
        bedRoomLight.off();
    }
}
